<template>
  <div>
    <BasicTable @register="registerTable" />
  </div>
</template>
<script lang="ts" setup>
  import { BasicTable, useTable } from '@/components/Table';
  import { getfileInfoPage } from '@/api/sys/fileInfoManage';
  import { columns, searchFormSchema } from './data';

  const [registerTable] = useTable({
    title: '',
    api: getfileInfoPage,
    columns,
    formConfig: {
      labelWidth: 120,
      schemas: searchFormSchema,
    },
    useSearchForm: true,
    
    bordered: true,
    showIndexColumn: false,
  });
</script>
